﻿/**
 * @author 毕伟伦
 * 2012-3-18 创建
 */
package cn.edu.zjusc.Security;

import java.math.BigDecimal;

public class LoginResponse {
	//用户类型,1为学生,100为老师,0为未通过验证
	private int userType;
	//权限码
	private String authCode;
	//如果是学生，这一项有意义
	//报名号
	private BigDecimal stuApplyID;
	
	public LoginResponse(){
		userType=0;
		authCode="";
		stuApplyID=new BigDecimal(-1);
	}
	
	public int getUserType() {
		return userType;
	}
	public void setUserType(int userType) {
		this.userType = userType;
	}
	public String getAuthCode() {
		return authCode;
	}
	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}
	public void setStuApplyID(BigDecimal stuApplyID) {
		this.stuApplyID = stuApplyID;
	}
	public BigDecimal getStuApplyID() {
		return stuApplyID;
	}
}
